# Contributor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=lel
pkgver=0.1
pkgrel=0
pkgdesc="A farbfeld image viewer"
url="https://git.2f30.org/lel/"
arch="all"
license="MIT"
depends="libx11"
makedepends="$depends-dev"
subpackages="$pkgname-doc"
source="https://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR=$pkgdir \
	install || return 1
}

sha512sums="4979ea7966eb8f670b5015225b84c5f2c5ecddf504150c1186a490dcea5284a5143cff8f31efacad1be42964d4dd9f24a560dc8e57e3f86beef2c3384fd712f9  lel-0.1.tar.gz"
